UploadResponse

external interface UploadResponse

The response to an artifact upload.

Properties

artifactItems
Link copied to clipboard
abstract val artifactItems: Array<String>
A list of all items that are meant to be uploaded as part of the artifact
artifactName
Link copied to clipboard
abstract val artifactName: String
The name of the artifact that was uploaded
failedItems
Link copied to clipboard
abstract val failedItems: Array<String>
A list of items that were not uploaded as part of the artifact (includes queued items that were not uploaded if continueOnError is set to false).
size
Link copied to clipboard
abstract val size: Number
Total size of the artifact in bytes that was uploaded

Extensions

hasFailedItems
Link copied to clipboard
val UploadResponse.hasFailedItems: Boolean
True if some items in the upload failed.
requireSuccess
Link copied to clipboard
fun UploadResponse.requireSuccess()
Throws an error if the upload has failed items.

Sources

js source
Link copied to clipboard